InquiryScreen Auto-Submit Enhancement

This enhancement introduces an optional auto-submit capability for InquiryScreens, allowing Result tabs to refresh automatically when a user changes the value of a configured combo field.

  • Two new optional attributes are introduced at the <InquiryScreen> level:

    • SUBMITFORM

    • FIELD

  • When configured, the system automatically performs the equivalent of an OK button action whenever the selected combo field value changes.

  • Result tabs are refreshed dynamically based on the selected filter criteria without requiring the user to click OK.

Configuration Rules

  • The FIELD attribute must reference a field defined within the InquiryScreen <Fields> section.

  • Only fields with data type COMBO are supported.

  • Both SUBMITFORM and FIELD must be configured together for the feature to work.

  • Only one combo field can be configured for this functionality per InquiryScreen.

  • Existing InquiryScreen behavior remains unchanged unless the new attributes are explicitly configured.

  • The OK button continues to work as currently designed.

  • Existing validations, mandatory field checks, warnings, and ActionSet processing continue to take precedence over the auto-submit functionality.

  • This configuration automatically reloads the Result tab whenever the ClientType combo value changes.

XML Schema

<InquiryScreen DISPLAYONLOAD="Yes" SUBMITFORM='Yes' FIELD='ClientType'>
    <Input>
        <Fields>
            <Field>
                <Name>ClientType</Name>
                <Display>Client Type</Display>
                <DataType>Combo</DataType>
                <DefaultValue>00</DefaultValue>
                <Query TYPE="SQL">SELECT CodeValue, ShortDescription FROM AsCode WHERE CodeName = 'AsCodeClientType'</Query>
            </Field>
        </Fields>
     </Input> 
    <Output>
        <Result SHOW="True" DISPLAY="Clients">
            <Table>
                <Results>
                    <Query TYPE="SQL">SELECT ClientNumber, FirstName, LastName FROM AsClient WHERE ClientType = '[ClientType]'</Query>
                </Results>
                <Column>
                    <Display>Client Number</Display>
                    <Name>ClientNumber</Name>
                    <DataType>Text</DataType>
                </Column>
                <Column>
                    <Display>First Name</Display>
                    <Name>FirstName</Name>
                    <DataType>Text</DataType>
                </Column>
                <Column>
                    <Display>Last Name</Display>
                    <Name>LastName</Name>
                    <DataType>Text</DataType>
                </Column>
            </Table>
        </Result>
    </Output>
</InquiryScreen>

Required Manual Configuration Updates

Existing configuration will continue to work. And users can manually update the InquiryScreen configuration for this new functionality.